import {defineStore} from "pinia";

const layout = defineStore('layout', {
    state: () => ({}),
    actions: {
        updateState(_state) {
            this.$state = {
                ...this.$state,
                ..._state
            }
        }
    },
    persist: {
        enabled: true
    }
})
export default layout